#gamewrapper {
	float: left;
	width: 99%;
}

#board {
	background: url(../image/wood1.gif) repeat center center;
	float: left;
	margin: 10px;
}

#board div {
	text-align: center;
	font-size: 12px;
	line-height: 25px;
	width: 25px;
	height: 25px;
	padding: 0;
	float: left;
}

div[onclick] {
	cursor: pointer;
}

img {
	border: 0;
	margin: 0;
}

.corner ,
.top ,
.right ,
.bottom ,
.left {
	background: #FFF;
}

.lt , .mt , .rt ,
.lm , .mm , .rm ,
.lb , .mb , .rb ,
.ko {
	background-repeat: no-repeat;
	background-position: center center;
}

.lt { background-image: url(../image/lt.gif); } /* left-top */
.mt { background-image: url(../image/mt.gif); } /* mid-top */
.rt { background-image: url(../image/rt.gif); } /* right-top */
.lm { background-image: url(../image/lm.gif); } /* left-mid */
.mm { background-image: url(../image/mm.gif); } /* mid-mid */
.rm { background-image: url(../image/rm.gif); } /* right-mid */
.lb { background-image: url(../image/lb.gif); } /* left-bottom */
.mb { background-image: url(../image/mb.gif); } /* mid-bottom */
.rb { background-image: url(../image/rb.gif); } /* right-bottom */
.ko { background-image: url(../image/ko.gif); } /* mid-mid-dot */

.white {
	border: 2px solid #000;
	margin: -2px;
	background: #FFF;
	position: relative;
	z-index: 5;
}
* html .white {
	width: 23px;
	height: 23px;
	margin: 0;
}

.black {
	background: #000;
}

#interface {
	width: 400px;
	margin: 10px;
	float: left;
}

#history {
	width: auto;
	margin-top: 0;
	margin-left: 0;
	font-size: larger;
	border: 1px solid #000;
	border-collapse: separate;
}

#history .blank {
	border: 0;
}

#history caption {
	text-align: left;
}

#history a {
	font-family: monospace;
	font-weight: normal;
	color: inherit;
	background: transparent;
	padding: 1px 2px;
	display: block;
	border: 1px solid transparent;
}

#history a:before,
#history a:after {
	content: '';
}

#history a:hover {
	border: 1px solid #000;
}

.wh {
	background-color: #FFF;
	color: #000;
	padding: 1px;
}

.bl {
	background: #AAA;
	color: #000;
	padding: 1px;
}

.until {
	border: 2px solid #C00;
	padding: 0;
}

.notice {
	font-size: larger;
	font-weight: bold;
}

.chatwrapper {
	width: 500px;
	margin: 10px 20px;
	padding: 5px;
}

.chatbox {
	height: 150px;
	overflow: auto;
	border: 1px solid #000;
	margin-bottom: 2px;
}

.chat {
	width: 100%;
	min-height: 100px;
	font-size: 10px;
	margin: 0 auto;
	border: 0;
	border-spacing: 3px;
}

.chat th {
	width: 1px;
	border: 0;
	width: 1px;
	padding: 2px 3px;
	text-align: right;
	font-weight: bold;
	white-space: nowrap;
}
* html .chat th {
	width: 1%;
}

.chat td {
	width: auto;
	text-align: left;
	font-weight: normal;
	border: 0;
	padding: 2px 3px;
}

.chat .alt {
	background: #EEE;
}

.chat .private {
	color: #C00;
}